package com.jay.lang.management.intf;

import java.io.IOException;
import java.lang.management.CompilationMXBean;
import java.lang.management.ManagementFactory;

public class CompilationMXBeanIntf {
	public static void main(String[] args) throws IOException {
		CompilationMXBean mxbean = ManagementFactory.getCompilationMXBean();
		System.out.println(mxbean.getName());
		System.out.println(mxbean.getTotalCompilationTime());
		System.out.println(mxbean.isCompilationTimeMonitoringSupported());
		System.out.println(mxbean.toString());
		System.out.println(mxbean.getClass());
		System.out.println(mxbean.getObjectName());

	}
}
